<ol class="breadcrumb">
    <li> <i class="fa fa-anchor"></i>
        &nbsp;电桩状态
    </li>
    <li>详细信息</li>
</ol>
<div class="col-xs-12 info-center">
    <div class="panel panel-mcit">
        <div class="panel-heading">基础信息</div>
        <table class="table table-bordered graduateinfo">
            <tbody>
            <tr>
                <td class="gi_left">当前状态</td>
                <td class="gi_right"><strong>
                    <if condition="$data.charge eq 1 and $data.error eq 0 and $data.bespeak eq 0 and $data.cable eq 0">充电中<elseif condition="$data.charge eq 0 and $data.error eq 0 and $data.bespeak eq 1 and $data.cable eq 0"/>预约中<elseif condition="$data.charge eq 0 and $data.error eq 0 and $data.bespeak eq 0 and $data.cable eq 0"/>空闲中<elseif condition="$data.charge eq 0 and $data.error eq 1 and $data.bespeak eq 0 and $data.cable eq 0" />故障维护<else /></if>
                </strong></td>
            </tr>
            <tr>
                <td class="gi_left">运营二维码</td>
                <td class="gi_right" colspan="6"><strong>{$data.charInfo.evc_number}</strong></td>
            </tr>
            <tr>
                <td class="gi_left">设备地址</td>
                <td class="gi_right" colspan="6"><strong>{$data.charInfo.key_link}</strong></td>
            </tr>
            <tr>
                <td class="gi_left">站点名称</td>
                <td class="gi_right" colspan="6"><strong>{$data.plantInfo.name}</strong></td>
            </tr>
            <tr>
                <td class="gi_left">地址</td>
                <td class="gi_right" colspan="6"><strong>{$data.plantInfo.address}</strong></td>
            </tr>
            <if condition="$data.charge eq 1 and $data.error eq 0 and $data.bespeak eq 0 and $data.cable eq 0 or $data.charge eq 0 and $data.error eq 0 and $data.bespeak eq 0 and $data.cable eq 0">
                <tr>
                    <td class="gi_left" rowspan="7">状态详情</td>
                    <td>电压</td>
                    <td><strong>{$data.char_u}</strong></td>
                </tr>
                <tr>
                    <td>电流</td>
                    <td colspan="5"><strong>{$data.char_i}</strong></td>
                </tr>
                <tr>
                    <td>输出功率</td>
                    <td colspan="5"><strong>{$data.char_p}</strong></td>
                </tr>
                <tr>
                    <td>已充电时</td>
                    <td  colspan="5"><strong>{$data.char_now_hour}</strong></td>
                </tr>
                <tr>
                    <td>已充电分</td>
                    <td colspan="5"><strong>{$data.char_now_minute}</strong></td>
                </tr>
                <tr>
                    <td>本次充电电量</td>
                    <td colspan="5"><strong>{$data.char_now_kwh}</strong></td>
                </tr>
                <tr>
                    <td>本次充电金额</td>
                    <td colspan="5"><strong>&yen;&nbsp;{$data.char_now_money}</strong></td>
                </tr>
                <tr>
                    <td class="gi_left" rowspan="7">会员信息</td>
                    <td>账户名</td>
                    <td colspan="5"><strong>{$data.memberInfo.account}</strong></td>
                </tr>
                <tr>
                    <td>昵称</td>
                    <td><stront>{$data.memberInfo.nickname}</stront></td>
                </tr>
                <tr>
                    <td>联系电话</td>
                    <td><stront>{$data.memberInfo.phone}</stront></td>
                </tr>
                <tr>
                    <td>Email</td>
                    <td><stront>{$data.memberInfo.email}</stront></td>
                </tr>
                <tr>
                    <td>会员卡号</td>
                    <td>{$data.memberInfo.user_pay_card}</td>
                </tr>
            <elseif condition="$data.charge eq 0 and $data.error eq 1 and $data.bespeak eq 0 and $data.cable eq 0"/>
                <tr>
                    <td class="gi_left" rowspan="2">状态详情</td>
                    <td>故障原因</td>
                    <td><strong>故障原因</strong></td>
                </tr>
                <tr>
                    <td>故障时间</td>
                    <td ><strong>故障时间</strong></td>
                </tr>
            <elseif condition="$data.charge eq 0 and $data.error eq 0 and $data.bespeak eq 1 and $data.cable eq 0"/>
                <tr>
                    <td class="gi_left">状态详情</td>
                    <td>预约起始时间</td>
                    <td><strong>预约起始时间</strong></td>
                </tr>
                <tr>
                    <td class="gi_left">会员信息</td>
                    <td colspan="3"><strong>会员信息</strong></td>
                </tr>
            </if>
            </tbody>
        </table>
    </div>
    <br>
    <a href="{:U('State/index')}" class="btn btn-warning"><i class="fa fa-mail-reply"></i>&nbsp;返回</a>

</div>